package com.stenio.fancat.domain.shop;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.stenio.fancat.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("fc_shop_image")
public class FcShopImage extends BaseEntity {
    private static final long serialVersionUID = -3847940758887973703L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("business_id")
    private Integer businessId;

    @TableField("type")
    private Integer type;

    @TableField("url")
    private String url;

    @TableField("name")
    private String name;

}